package com.liujg.future.config;


import com.liujg.future.util.IPKeyGenerator;
import com.liujg.future.util.KeyGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GenericConfig {

    @Bean
    public KeyGenerator keyGenerator() {
        return new IPKeyGenerator();
    }
}
